<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1" name="viewport"/>
    <!--    <link rel="stylesheet" th:href="@{/static/css/css2.css}">-->
    <!--    <link rel="stylesheet" th:href="@{/static/css/font-awesome.min.css}">-->
    <link rel="stylesheet" th:href="@{/static/css/style.css}">
    <title>统 一 登 录 工 作 门 户</title>
    <script th:href="@{/static/js/jquery.js}" type="text/javascript"></script>

</head>
<body>
<img alt="" class="wave" th:src="@{/static/img/bg.png}">
<div class="container">
    <div class="img">
        <img alt="" th:src="@{/static/img/undraw_Dashboard_re_3b76.svg}">
    </div>
    <div class="login-box">

        <i class="icon icon-notice"></i>
        <div class="ui-notice-btn">
            <form id='confirmationForm' method='post'
                  name='confirmationForm' th:action="${#httpServletRequest.getContextPath()}+'/oauth/authorize'">
                <img alt="" class="avatar" th:src="@{/static/img/avatar.svg}">
                <h4>是否授权：<span th:text="${session.authorizationRequest.clientId}">clientId</span></h4>

                <input name='user_oauth_approval' type='hidden' value='true'/>
                <!--写好授权访问领域-->
                <input checked="checked" th:each="s : ${scopeList}" th:name="${s}" type="hidden" value="true"/>
                <a href="/small-service-auth/oauth/logout">切换用户</a>
                <input class="btn" name='authorize' type='submit' value='授权'/>
            </form>
        </div>
    </div>
</div>

</body>
</html>
